package reflect;

public class Person implements MyInterface ,MyInterface02{

	
	private int id;
	private String name;
	private int age;
	public String desc;
	
	
	
	public Person(int id) {
		super();
		this.id = id;
	}
	
	private Person(String name){
		this.name =name;
	}



	public Person() {
		super();
	}



	public Person(int id, String name, int age) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
	}



	public int getId() {
		return id;
	}



	public void setId(int id) {
		this.id = id;
	}



	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = name;
	}



	public int getAge() {
		return age;
	}



	public void setAge(int age) {
		this.age = age;
	}

	public static void staticMethod(){
		System.out.println("static method");
	}

	private static void privateMethod(){
		System.out.println("private static method");
	}
	
	private static void privateMethod2(String str){
		System.out.println("private static method args:"+str);
	}

	@Override
	public void interfaceMethod() {
		
		System.out.println("interface method");

	}



	@Override
	public void interface2Method() {
		// TODO Auto-generated method stub
		System.out.println("interface2 method");
		
	}

}
